vcProcessFlowGroupManager
The flow group manager is used to create, access and delete the process flow groups within its owner process controller.
See in: Overview
Module: vcProcessModel
Parent: vcObject
Children -
Referenced by: vcProcessController.FlowGroupManager
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| Groups | vcObservableList[vcProcessFlowGroup] | R | Gets the list of all registered flow groups. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| clearGroups | None | None | Deletes all groups. |
| createGroup | vcProcessFlowGroup | String groupName | Creates a new group with the given name.See moreParameters: groupName (String): Group name. The name must be unique within the process controller. Returns: vcProcessFlowGroup: newly created process flow group. Exceptions: ValueError: When given group name is empty or not unique. |
| findGroup | vcProcessFlowGroup | String groupName | Finds a flow group with the given name.See moreParameters: groupName (String): Group name. Returns: vcProcessFlowGroup: found process flow group, None if not found. |
| moveProductType | None | vcProductType productType, vcProcessFlowGroup target | Tries to move the given product type to the given target group.See moreParameters: typeToMove (vcProductType): Product type. destination (vcProcessFlowGroup): Target group. Exceptions: ValueError: When type to move is 'Any' product type. |
Example: Access Process Modeling Main Objects
""" Access main objects for process modeling in vcCore.""" import vcCore as vc world = vc.getWorld() pc = world.ProcessController assembly_pattern_manager = pc.AssemblyPatternManager flow_group_manager = pc.FlowGroupManager flow_table = pc.FlowTable process_manager = pc.ProcessManager product_matcher = pc.ProductMatcher product_type_manager = pc.ProductTypeManager transport_system = pc.TransportSystem